package com.zscat.mallplus.email.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zscat.mallplus.utils.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author zscat
 * @since 2019-06-15
 */
@Data
@TableName("cms_email")
public class CmsEmail extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    //    @TableField("store_id")
//    private Integer storeId;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("sort")
    private Integer sort;
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;
    @TableField("remark")
    private String remark;

    @TableField("email_title")
    private String emailTitle;
    @TableField("email_detail")
    private String emailDetail;
    @TableField("tos")
    private String tos;
    @TableField("member_ids")
    private String memberIds;
}
